﻿
Imports osi.service.argument

'test purpose, it's not bypass, but do exactly as bypass
Public Class bypass2
    Implements zipper

    Public Shared ReadOnly instance As bypass2

    Shared Sub New()
        instance = New bypass2()
    End Sub

    Private Sub New()
    End Sub

    Public Shared Function create(ByVal v As var, ByRef o As zipper) As Boolean
        o = instance
        Return True
    End Function

    Public Function unzip(ByVal i() As Byte, ByRef o() As Byte) As Boolean Implements zipper.unzip
        o = i
        Return True
    End Function

    Public Function zip(ByVal i() As Byte, ByRef o() As Byte) As Boolean Implements zipper.zip
        o = i
        Return True
    End Function
End Class
